package weatherwidget.isrefluxer.bird.com.birdweatherwidget.constant;

/**
 * 项目名称：BirdWeatherWidget
 * 类描述：
 * 创建人：Administrator
 * 创建时间：2016/11/19 11:57
 * 修改人：Administrator
 * 修改时间：2016/11/19 11:57
 * 修改备注：
 */
public class WeatherConstant {

    public static final String ACTION_WEATHER_INIT_UPDATE = "weatherwidget.isrefluxer.bird.com.birdweatherwidget.init.update";
    public static final String BAIDU_LOCATION_KEY = "AdBmLHGan27C7SLIYh4X23pft52ZUiil";
    public static final String ACTION_START_WEATHER_SERVICE = "bird.intent.action.start.weather.service";
    public static final String ACTION_MORNCLOUD_LOCATION_SUCCESS = "action.bdweather.weather.location.success";
    public static final String DATA_ACTIVE_FRESH_LOCATION = "data_active_fresh_location";
    public static final String ACTION_WEATHER_UPDATE = "weatherwidget.isrefluxer.bird.com.birdweatherwidget.update";
    public static final long UPDATE_FREQUENCY_TIME = 2 * 60 * 60 * 1000;
    public static final String ACTION_WEATHER_TIME_UPDATE = "weatherwidget.isrefluxer.bird.com.birdweatherwidget.time.update";
    public static final String ACTION_WEATHER_NIGHT_UPDATE = "weatherwidget.isrefluxer.bird.com.birdweatherwidget.night.update";
    public static final String ACTION_WEATHER_LOCATION_FAILURE = "action.birdweatherwidget.weather.location.failure";


    public static final String WEATHER_SER_URL ="http://restapi.amap.com/v3/weather/weatherInfo?key=6714e716df8b065ca73cb148e88f5b20&city=" ;
    public static final int WEATHER_STATUS_OK =1 ;
    public static int WEATHER_INFO_ECODE_OK = 10000;
    public static final String ACTION_WEATHER_UPDATE_FAILURE = "weatherwidget.isrefluxer.bird.com.birdweatherwidget.update.failure";
    public static final String ACTION_WEATHER_UPDATE_SUCCESS = "weatherwidget.isrefluxer.bird.com.birdweatherwidget.update.success";

    public static final String ACTION_MORNCLOUD_WIDGET_CLICK_FRESH_WEATHER = "weatherwidget.isrefluxer.bird.com.birdweatherwidget.fresh.weather";
    public static final String ACTION_WEATHER_UPDATE_NULL = "weatherwidget.isrefluxer.bird.com.birdweatherwidget.update.null";
    public static final String ACTION_MORNCLOUD_LOCATION_UPDATE = "weatherwidget.isrefluxer.bird.com.birdweatherwidget.location.update";
    public static final String ACTION_MORNCLOUD_LOCATION_FAILURE = "weatherwidget.isrefluxer.bird.com.birdweatherwidget.location.failure";
    public static final String APP_DATA_PATH = "/data/data/weatherwidget.isrefluxer.bird.com.birdweatherwidget/";
    public static final String APP_DATABASE_CHINA_PATH = APP_DATA_PATH
            + "databases/china_city.db";
}
